﻿using Management.Systeam.ErrorCode;
using MediatR;

namespace Management.Systeam.Read.Apis.Application.Command.Resourceses
{
    public class AddResourcesesCommand : IRequest<ApiResult<int>>
    {
        public string? Menu_Code { get; set; }
        /// <summary>
        ///   菜单名称
        /// </summary>
        public string? Menu_Name { get; set; }
        /// <summary>
        ///   父级菜单
        /// </summary>
        public string? Parent_Menu { get; set; }
        /// <summary>
        ///   类型（页面/Ajax请求/对话框等）
        /// </summary>
        public string? Type { get; set; }
        /// <summary>
        ///   样式（图标类名）
        /// </summary>
        public string? Style { get; set; }
        /// <summary>
        ///   排序
        /// </summary>
        public int? Sort { get; set; }
        /// <summary>
        ///   路径
        /// </summary>
        public string? Path { get; set; }
        /// <summary>
        ///   创建时间
        /// </summary>
        public DateTime? Created_At { get; set; }
    }
}
